package top.lionkliu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author : lyj
 * @Timer : 2022/4/15
 * @Description :
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private String id;
    private String name;
    private String password;
    private String email;
    private String flag;
    private String active;
    private String image;


    public User(String name, String password) {
        this.name = name;
        this.password = password;
    }

    public User(String name, String password, String email) {
        this.name = name;
        this.password = password;
        this.email = email;
    }

    public User(String id, String name, String password, String email) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.email = email;
    }

    public User(String id, String name, String password, String email, String flag) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.email = email;
        this.flag = flag;
    }

    public User(String id, String name, String password, String email, String flag, String image) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.email = email;
        this.flag = flag;
        this.image = image;
    }
}
